home *** CD-ROM | disk | FTP | other *** search
/ PC Format (PL) 2008 February / PC_Format_022008.iso / Internet / Mozilla Thunderbird wtyczki / lightning-0.7-tb-win.xpi / chrome / lightning.jar / content / lightning / customize-toolbar.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-09-24  |  4.4 KB  |  101 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is Mozilla Communicator client code, released
  16.    - March 31, 1998.
  17.    -
  18.    - The Initial Developer of the Original Code is
  19.    - Netscape Communications Corporation.
  20.    - Portions created by the Initial Developer are Copyright (C) 1998-1999
  21.    - the Initial Developer. All Rights Reserved.
  22.    -
  23.    - Contributor(s):
  24.    -   David Hyatt (hyatt@apple.com)
  25.    -   Blake Ross (blaker@netscape.com)
  26.    -   Michael Buettner <michael.buettner@sun.com>
  27.    -
  28.    - Alternatively, the contents of this file may be used under the terms of
  29.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  30.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  31.    - in which case the provisions of the GPL or the LGPL are applicable instead
  32.    - of those above. If you wish to allow use of your version of this file only
  33.    - under the terms of either the GPL or the LGPL, and not to allow others to
  34.    - use your version of this file under the terms of the MPL, indicate your
  35.    - decision by deleting the provisions above and replace them with the notice
  36.    - and other provisions required by the LGPL or the GPL. If you do not delete
  37.    - the provisions above, a recipient may use your version of this file under
  38.    - the terms of any one of the MPL, the GPL or the LGPL.
  39.    -
  40.    - ***** END LICENSE BLOCK ***** -->
  41.  
  42. <!DOCTYPE dialog [
  43.   <!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd">
  44.   %customizeToolbarDTD;
  45.   <!ENTITY % lightningDTD SYSTEM "chrome://lightning/locale/lightning.dtd">
  46.   %lightningDTD;
  47. ]>
  48.  
  49. <?xml-stylesheet href="chrome://lightning/skin/lightning.css" type="text/css"?>
  50.  
  51. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  52.  
  53.   <script type="application/x-javascript"
  54.           src="chrome://lightning/content/customize-toolbar.js"/>
  55.  
  56.   <vbox id="main-box" flex="1" collapsed="true">
  57.     <box id="selector-container" orient="vertical" insertbefore="instructions" collapsed="true">
  58.       <box align="center" orient="horizontal">
  59.         <label value="&customize.toolbar.selector.label;" control="selector-list"/>
  60.         <menulist id="selector-list"
  61.                   value="mode"
  62.                   oncommand="updateToolbarSelection(this.value);">
  63.           <menupopup>
  64.             <menuitem value="mode" label="&customize.toolbar.selector.mode;"/>
  65.             <menuitem value="mail" label="&customize.toolbar.selector.mail;"/>
  66.             <menuitem value="calendar" label="&customize.toolbar.selector.calendar;"/>
  67.           </menupopup>
  68.         </menulist>
  69.       </box>
  70.       <separator class="groove"/>
  71.     </box>
  72.     <box id="control-box" align="center" insertafter="palette-box">
  73.       <label value="&customize.toolbar.location.label;" control="location-list"
  74.              location-option="true"
  75.              collapsed="true"/>
  76.       <menulist id="location-list"
  77.                 value="top"
  78.                 location-option="true"
  79.                 collapsed="true"
  80.                 oncommand="updateToolbarLocation(this.value);">
  81.         <menupopup>
  82.           <menuitem value="top" label="&customize.toolbar.location.top;"/>
  83.           <menuitem value="bottom" label="&customize.toolbar.location.bottom;"/>
  84.         </menupopup>
  85.       </menulist>
  86.       <label value="&show.label;" control="modelist"/>
  87.       <menulist id="modelist" value="icons" oncommand="updateToolbarMode(this.value);">
  88.         <menupopup>
  89.           <menuitem value="full" label="&iconsAndText.label;"/>
  90.           <menuitem value="icons" label="&icons.label;"/>
  91.           <menuitem value="text" label="&text.label;"/>
  92.         </menupopup>
  93.       </menulist>
  94.       <checkbox id="smallicons" oncommand="updateIconSize(this.checked);" label="&useSmallIcons.label;"/>
  95.       <spacer flex="1"/>
  96.       <button label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();"/>
  97.     </box>
  98.   </vbox>
  99.  
  100. </overlay>
  101.